// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import './assets/icon/iconfont.css'
import uuid from 'uuid/v1'
import moment from 'moment'
import store from './store'
import VueCookies from 'vue-cookies'
import echarts from 'echarts'

Vue.use(VueCookies)
Vue.use(ViewUI, {
  size: 'default'
})
Vue.config.productionTip = false

Vue.prototype.moment = moment
Vue.prototype.uuid = uuid
Vue.prototype.$echarts = echarts

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: {App},
  template: '<App/>'
})
